<template>
<!--
  直接在标签中使用 require
-->
  <div>
    <img v-for="(item, index) in imgNameList" :key="index" :src="require(`../assets/radar/${item.imgName}`)"/>
  </div>
</template>

<script>
export default {
  name: "Test2",
  data() {
    return {
      imgNameList: [
        {imgName: '1.png'},
        {imgName: '2.png'},
        {imgName: '3.png'},
        {imgName: '4.png'},
      ]
    }
  }
}
</script>

<style scoped>

</style>